package org.jeecg.modules.purchase.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.jeecg.modules.purchase.entity.PurchaseStockOut;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: 出库记录
 * @Author: jeecg-boot
 * @Date:   2022-11-15
 * @Version: V1.0
 */
public interface PurchaseStockOutMapper extends BaseMapper<PurchaseStockOut> {

//    @Select("SELECT * "+
//            " FROM purchase_stock_out out,purchase_stock_out_goods goods"+
//            " ${ew.customSqlSegment} ")
//    IPage<PurchaseStockOut> findGoods(Page<PurchaseStockOut> page, @Param("ew") QueryWrapper<PurchaseStockOut> queryWrapper);

    IPage<PurchaseStockOut> getPageList(Page<PurchaseStockOut> page,  @Param("ew") QueryWrapper<PurchaseStockOut> queryWrapper);
}
